/* 
    托管静态文件
*/


const express = require('express');
const app = express();
// let server = app.use(express.static('public'));

// server.listen(3000,()=>{
//     console.log('running……');
// }); 

/* ------------------------------------------------------- */

app.use('/abc', express.static('public'));
app.use('/nihao', express.static('hello'));
app.listen(300,()=>{
    console.log('running……');
});